﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    [Serializable]
    public partial class Car_Insurance
    {
        public Car_Insurance()
        { }
        #region Model
        private int _id;
        private int _carid;
        private int? _typeid;
        private string _insuranceno;
        private decimal _insurancemoney;
        private string _insurancecompany;
        private DateTime _begintime;
        private DateTime _endtime;
        private bool _hasattachments = false;
        private int _state;
        private int _instancestate;
        private string _approalusers;
        private int _nodecount;
        private int _userId;
      
        /// <summary>
        /// 保险编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 车牌
        /// </summary>
        public int CarId
        {
            set { _carid = value; }
            get { return _carid; }
        }
        /// <summary>
        /// 保险类型
        /// </summary>
        public int? TypeId
        {
            set { _typeid = value; }
            get { return _typeid; }
        }
        /// <summary>
        /// 保险单号
        /// </summary>
        public string InsuranceNo
        {
            set { _insuranceno = value; }
            get { return _insuranceno; }
        }
        /// <summary>
        /// 保险金额
        /// </summary>
        public decimal InsuranceMoney
        {
            set { _insurancemoney = value; }
            get { return _insurancemoney; }
        }
        /// <summary>
        /// 投保公司
        /// </summary>
        public string InsuranceCompany
        {
            set { _insurancecompany = value; }
            get { return _insurancecompany; }
        }
        /// <summary>
        /// 投保时间
        /// </summary>
        public DateTime BeginTime
        {
            set { _begintime = value; }
            get { return _begintime; }
        }
        /// <summary>
        /// 到期时间
        /// </summary>
        public DateTime EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 附件
        /// </summary>
        public bool HasAttachments
        {
            set { _hasattachments = value; }
            get { return _hasattachments; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 流程状态
        /// </summary>
        public int InstanceState
        {
            set { _instancestate = value; }
            get { return _instancestate; }
        }
        /// <summary>
        /// 审批人
        /// </summary>
        public string ApproalUsers
        {
            set { _approalusers = value; }
            get { return _approalusers; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int NodeCount
        {
            set { _nodecount = value; }
            get { return _nodecount; }
        }
        /// <summary>
        /// 申请人
        /// </summary>
        public int UserId
        {
            get { return _userId; }
            set { _userId = value; }
        }
        #endregion Model
    }
}
